
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.DeviceTopologyEntity;
import com.zhitan.ems.app.iot.vo.DeviceTopologyVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 设备组态图 包装类,返回视图层所需的字段
 * @author zhitan
 * @email 
 * @date 2025-10-28 23:01:38
 */
public class DeviceTopologyWrapper extends BaseEntityWrapper<DeviceTopologyEntity, DeviceTopologyVO>  {
    public static DeviceTopologyWrapper build() {
        return new DeviceTopologyWrapper();
    }
	@Override
	public DeviceTopologyVO entityVO(DeviceTopologyEntity deviceTopology) {
		if(deviceTopology==null) {
			return null;
		}
		DeviceTopologyVO deviceTopologyVO = BeanUtil.copy(deviceTopology, DeviceTopologyVO.class);
		return deviceTopologyVO;
	}

}
